package com.cherrish.demo.redis;

import org.springframework.stereotype.Component;

/**
 * @author cherrish
 * @time 2018-08-30 15:05
 * @name MessageReceiver
 * @desc:
 */
@Component
public class MessageReceiver {
    public void receiveMessage(String message){
        System.out.println("receive a message: " + message);
    }
    public void replyMessage(String message){
        System.out.println("reply a message: " + message);
    }
}
